/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package validation;

import org.jdesktop.beansbinding.Validator;

/**
 *
 * @author Usuario
 */
public class LongValidator extends Validator<Long>{
    
    public Validator.Result validate(Long arg) {
        if ((arg < 1)) {
            return new Result(null, "Escriba un número válido");
        }
        return null;
    }
    
}
